from django.urls import path
from Comics import views as Comcis_views
from django.conf.urls.static import static
from django.conf import settings

urlpatterns = [
    # ------------------------
    path("", Comcis_views.desktop),
    path("comics_house/", Comcis_views.comics_house),
    path("show_comics/<str:comics_id>", Comcis_views.show_comics),
    path("<str:comics_id>_<str:catalog>", Comcis_views.comics),
    path("upload/", Comcis_views.upload),
    path("upload/create_comic/", Comcis_views.create_comic),
    path("comics_manager/", Comcis_views.comics_manager),
    path("upload/my_comic/", Comcis_views.my_comics)
    # ------------------------
]
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
